package com.lzw.service;

import com.lzw.bean.RoleMenu;
import com.lzw.bean.UserRole;
import com.lzw.common.bean.Result;
import com.lzw.common.service.BaseService;

import java.util.List;

/**
 * Created by 林志伟 on 2017/5/11.
 */
public interface RoleMenuService extends BaseService<RoleMenu>{

    public Result insertAll(List<RoleMenu> roleMenus);

    public Result deleteOther(int role_id, int[] menu_ids);
    public Result setMenu(int role_id, int[] menu_ids);

    public UserRole findByRoleIdMenuId(int role_id, int menu_id);
}
